package com.stichedtogether.dto;

import java.sql.Timestamp;

import com.stichedtogether.annotations.field.Primary;
import com.stichedtogether.annotations.type.Table;

@Table(name="commented")
public class Comment {
	
	@Primary
	int cid;
	int pid;
	int uid;
	String comment;
	Timestamp time;
	int votes;
	int inResponseTo;
	
	
	public final int getCid() {
		return cid;
	}
	public final void setCid(int cid) {
		this.cid = cid;
	}
	public final int getPid() {
		return pid;
	}
	public final void setPid(int pid) {
		this.pid = pid;
	}
	public final int getUid() {
		return uid;
	}
	public final void setUid(int uid) {
		this.uid = uid;
	}
	public final String getComment() {
		return comment;
	}
	public final void setComment(String comment) {
		this.comment = comment;
	}
	public final Timestamp getTime() {
		return time;
	}
	public final void setTime(Timestamp time) {
		this.time = time;
	}
	public final int getVotes() {
		return votes;
	}
	public final void setVotes(int votes) {
		this.votes = votes;
	}
	public final int getInResponseTo() {
		return inResponseTo;
	}
	public final void setInResponseTo(int inResponseTo) {
		this.inResponseTo = inResponseTo;
	}
	
	

}
